package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.math.BigDecimal;

import lombok.Data;
import org.locationtech.jts.geom.Geometry;

/**
 * 项目计划表
 *
 * @author code-generate
 * @date 2022-11-02
 */
@Data
@DbTable(tableName = "t_proj_plan")
public class ProjPlan extends BaseEntity {
        /**
     * 计划ID
     */
    @DbTableField(columnName = "c_plan_id", dbType = DbTypeEnum.VARCHAR)
    public String planId ;

    /**
     * 计划名称
     */
    @DbTableField(columnName = "c_plan_name", dbType = DbTypeEnum.VARCHAR)
    public String planName ;

    /**
     * 计划编码(对应建设阶段编码数据字典配置，例如：合同签订、开工、竣工验收、移交）
     */
    @DbTableField(columnName = "c_plan_code", dbType = DbTypeEnum.VARCHAR)
    public String planCode ;

    /**
     * 项目ID
     */
    @DbTableField(columnName = "c_proj_id", dbType = DbTypeEnum.VARCHAR)
    public String projId ;

    /**
     * 合同ID
     */
    @DbTableField(columnName = "c_contract_id", dbType = DbTypeEnum.VARCHAR)
    public String contractId ;

    /**
     * 计划开始时间
     */
    @DbTableField(columnName = "c_plan_begin_time", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime planBeginTime ;

    /**
     * 计划结束时间
     */
    @DbTableField(columnName = "c_plan_end_time", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime planEndTime ;

    /**
     * 实际开始时间
     */
    @DbTableField(columnName = "c_real_begin_time", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime realBeginTime ;

    /**
     * 实际结束时间
     */
    @DbTableField(columnName = "c_real_end_time", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime realEndTime ;

    /**
     * 备注
     */
    @DbTableField(columnName = "c_remark", dbType = DbTypeEnum.VARCHAR)
    public String remark ;

    /**
     * 排序号
     */
    @DbTableField(columnName = "c_order_num", dbType = DbTypeEnum.INTEGER)
    public Integer orderNum ;

    /**
     * 经办人
     */
    @DbTableField(columnName = "c_operator", dbType = DbTypeEnum.VARCHAR)
    public String operator;
}
